package com.jinzihan.www.entity;

/**
 * @author jin-zihan
 * @create 2021-11-26-15:44
 */
public class Customer {
    private final String Username;
    private final String Password;
    private String name;
    private double wealth;
    private Node bag = null;

    public Customer(String username, String password, String name, double wealth) {
        this.Username=username;
        this.Password=password;
        this.name=name;
        this.wealth = wealth;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Node getBag() {
        return bag;
    }

    public void setBag(Node bag) {
        this.bag = bag;
    }

    public double getWealth() {
        return wealth;
    }

    public void setWealth(double wealth) {
        this.wealth = wealth;
    }

    public String getUsername() {
        return Username;
    }

    public String getPassword() {
        return Password;
    }
}
